package battlecruiser.shooter;

import battlecruiser.board.cell.coordinate.Coordinate;
import battlecruiser.ship.placement.ship.Ship;

/**
 * @author Yakiv Tymoshenko
 * @since 06.09.12
 */
public class DamageReport {

    private Coordinate target;
    private ShotResult shotResult;
    private Ship shipUnderAttack;

    public DamageReport(Coordinate target, ShotResult shotResult, Ship shipUnderAttack) {
        this.target = target;
        this.shotResult = shotResult;
        this.shipUnderAttack = shipUnderAttack;
    }

    public Coordinate getTarget() {
        return target;
    }

    public ShotResult getShotResult() {
        return shotResult;
    }

    public Ship getShipUnderAttack() {
        return shipUnderAttack;
    }
}
